//
//  HJPopMenuView.h
//  12期传智微博HJ
//
//  Created by mac on 15-2-3.
//  Copyright (c) 2015年 jun. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void (^dismissBlock)();
@interface HJPopMenuView : NSObject

/**
 *  显示菜单
 *
 *  @param fromView 需要指向控件
 *  @param content  需要显示的控件
 */
+ (void)popFrom:(UIView *)fromView content:(UIView *)content dismiss:(dismissBlock)dismiss;

+ (void)popFrom:(CGRect)fromRect inView:(UIView *)inView content:(UIView *)content dismiss:(dismissBlock)dismiss;


+ (void)popFrom:(UIView *)fromView contentVC:(UIViewController *)contentVC dismiss:(dismissBlock)dismiss;
@end


